package Bean;

import com.alibaba.fastjson.JSONObject;

public class BeanUser {
	String user_id;
	String user_name;
	String pwd;
	int user_type;
	int user_status;

	public int getUser_status() {
		return user_status;
	}

	public void setUser_status(int user_status) {
		this.user_status = user_status;
	}

	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public int getUser_type() {
		return user_type;
	}

	public void setUser_type(int user_type) {
		this.user_type = user_type;
	}

	public JSONObject toJson() {
		JSONObject j=new JSONObject();
		j.put("user_id", user_id);
		j.put("user_name", user_name);
		j.put("user_status", user_status);
		j.put("pwd", pwd);
		return j;
	}
}
